package io.github.xbeeant.eoffice.rest.vo;

import io.github.xbeeant.eoffice.model.DocTemplate;
import io.github.xbeeant.eoffice.model.DocTemplateCat;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xiaobiao
 * @version 2021/7/8
 */
public class DocTemplateCatVo extends DocTemplateCat {
    private List<DocTemplate> templates = new ArrayList<>();

    public void addTemplate(DocTemplate docTemplate) {
        templates.add(docTemplate);
    }

    public List<DocTemplate> getTemplates() {
        return templates;
    }

    public void setTemplates(List<DocTemplate> templates) {
        this.templates = templates;
    }
}
